Optimal. Leaf size=162 \[ -\frac {68 a^2 \cos (c+d x)}{45 d \sqrt {a+a \sin (c+d x)}}-\frac {34 a^2 \cos (c+d x) \sin ^3(c+d x)}{63 d \sqrt {a+a \sin (c+d x)}}-\frac {2 a^2 \cos (c+d x) \sin ^4(c+d x)}{9 d \sqrt {a+a \sin (c+d x)}}+\frac {136 a \cos (c+d x) \sqrt {a+a \sin (c+d x)}}{315 d}-\frac {68 \cos (c+d x) (a+a \sin (c+d x))^{3/2}}{105 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.17, antiderivative size = 162, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.261, Rules used = {2842, 21, 2849,
2838, 2830, 2725} \begin {gather*} -\frac {2 a^2 \sin ^4(c+d x) \cos (c+d x)}{9 d \sqrt {a \sin (c+d x)+a}}-\frac {34 a^2 \sin ^3(c+d x) \cos (c+d x)}{63 d \sqrt {a \sin (c+d x)+a}}-\frac {68 a^2 \cos (c+d x)}{45 d \sqrt {a \sin (c+d x)+a}}-\frac {68 \cos (c+d x) (a \sin (c+d x)+a)^{3/2}}{105 d}+\frac {136 a \cos (c+d x) \sqrt {a \sin (c+d x)+a}}{315 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 2725
Rule 2830
Rule 2838
Rule 2842
Rule 2849
Rubi steps
\begin {align*} \int \sin ^3(c+d x) (a+a \sin (c+d x))^{3/2} \, dx &=-\frac {2 a^2 \cos (c+d x) \sin ^4(c+d x)}{9 d \sqrt {a+a \sin (c+d x)}}+\frac {2}{9} \int \frac {\sin ^3(c+d x) \left (\frac {17 a^2}{2}+\frac {17}{2} a^2 \sin (c+d x)\right )}{\sqrt {a+a \sin (c+d x)}} \, dx\\ &=-\frac {2 a^2 \cos (c+d x) \sin ^4(c+d x)}{9 d \sqrt {a+a \sin (c+d x)}}+\frac {1}{9} (17 a) \int \sin ^3(c+d x) \sqrt {a+a \sin (c+d x)} \, dx\\ &=-\frac {34 a^2 \cos (c+d x) \sin ^3(c+d x)}{63 d \sqrt {a+a \sin (c+d x)}}-\frac {2 a^2 \cos (c+d x) \sin ^4(c+d x)}{9 d \sqrt {a+a \sin (c+d x)}}+\frac {1}{21} (34 a) \int \sin ^2(c+d x) \sqrt {a+a \sin (c+d x)} \, dx\\ &=-\frac {34 a^2 \cos (c+d x) \sin ^3(c+d x)}{63 d \sqrt {a+a \sin (c+d x)}}-\frac {2 a^2 \cos (c+d x) \sin ^4(c+d x)}{9 d \sqrt {a+a \sin (c+d x)}}-\frac {68 \cos (c+d x) (a+a \sin (c+d x))^{3/2}}{105 d}+\frac {68}{105} \int \left (\frac {3 a}{2}-a \sin (c+d x)\right ) \sqrt {a+a \sin (c+d x)} \, dx\\ &=-\frac {34 a^2 \cos (c+d x) \sin ^3(c+d x)}{63 d \sqrt {a+a \sin (c+d x)}}-\frac {2 a^2 \cos (c+d x) \sin ^4(c+d x)}{9 d \sqrt {a+a \sin (c+d x)}}+\frac {136 a \cos (c+d x) \sqrt {a+a \sin (c+d x)}}{315 d}-\frac {68 \cos (c+d x) (a+a \sin (c+d x))^{3/2}}{105 d}+\frac {1}{45} (34 a) \int \sqrt {a+a \sin (c+d x)} \, dx\\ &=-\frac {68 a^2 \cos (c+d x)}{45 d \sqrt {a+a \sin (c+d x)}}-\frac {34 a^2 \cos (c+d x) \sin ^3(c+d x)}{63 d \sqrt {a+a \sin (c+d x)}}-\frac {2 a^2 \cos (c+d x) \sin ^4(c+d x)}{9 d \sqrt {a+a \sin (c+d x)}}+\frac {136 a \cos (c+d x) \sqrt {a+a \sin (c+d x)}}{315 d}-\frac {68 \cos (c+d x) (a+a \sin (c+d x))^{3/2}}{105 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.35, size = 165, normalized size = 1.02 \begin {gather*} \frac {(a (1+\sin (c+d x)))^{3/2} \left (-3780 \cos \left (\frac {1}{2} (c+d x)\right )-1050 \cos \left (\frac {3}{2} (c+d x)\right )+378 \cos \left (\frac {5}{2} (c+d x)\right )+135 \cos \left (\frac {7}{2} (c+d x)\right )-35 \cos \left (\frac {9}{2} (c+d x)\right )+3780 \sin \left (\frac {1}{2} (c+d x)\right )-1050 \sin \left (\frac {3}{2} (c+d x)\right )-378 \sin \left (\frac {5}{2} (c+d x)\right )+135 \sin \left (\frac {7}{2} (c+d x)\right )+35 \sin \left (\frac {9}{2} (c+d x)\right )\right )}{2520 d \left (\cos \left (\frac {1}{2} (c+d x)\right )+\sin \left (\frac {1}{2} (c+d x)\right )\right )^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 2.24, size = 85, normalized size = 0.52
method | result | size |
default | \(\frac {2 \left (1+\sin \left (d x +c \right )\right ) a^{2} \left (\sin \left (d x +c \right )-1\right ) \left (35 \left (\sin ^{4}\left (d x +c \right )\right )+85 \left (\sin ^{3}\left (d x +c \right )\right )+102 \left (\sin ^{2}\left (d x +c \right )\right )+136 \sin \left (d x +c \right )+272\right )}{315 \cos \left (d x +c \right ) \sqrt {a +a \sin \left (d x +c \right )}\, d}\) | \(85\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.33, size = 145, normalized size = 0.90 \begin {gather*} -\frac {2 \, {\left (35 \, a \cos \left (d x + c\right )^{5} - 50 \, a \cos \left (d x + c\right )^{4} - 172 \, a \cos \left (d x + c\right )^{3} + 134 \, a \cos \left (d x + c\right )^{2} + 409 \, a \cos \left (d x + c\right ) - {\left (35 \, a \cos \left (d x + c\right )^{4} + 85 \, a \cos \left (d x + c\right )^{3} - 87 \, a \cos \left (d x + c\right )^{2} - 221 \, a \cos \left (d x + c\right ) + 188 \, a\right )} \sin \left (d x + c\right ) + 188 \, a\right )} \sqrt {a \sin \left (d x + c\right ) + a}}{315 \, {\left (d \cos \left (d x + c\right ) + d \sin \left (d x + c\right ) + d\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a \left (\sin {\left (c + d x \right )} + 1\right )\right )^{\frac {3}{2}} \sin ^{3}{\left (c + d x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.52, size = 152, normalized size = 0.94 \begin {gather*} \frac {\sqrt {2} {\left (3780 \, a \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1050 \, a \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (-\frac {3}{4} \, \pi + \frac {3}{2} \, d x + \frac {3}{2} \, c\right ) + 378 \, a \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (-\frac {5}{4} \, \pi + \frac {5}{2} \, d x + \frac {5}{2} \, c\right ) + 135 \, a \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (-\frac {7}{4} \, \pi + \frac {7}{2} \, d x + \frac {7}{2} \, c\right ) + 35 \, a \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (-\frac {9}{4} \, \pi + \frac {9}{2} \, d x + \frac {9}{2} \, c\right )\right )} \sqrt {a}}{2520 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\sin \left (c+d\,x\right )}^3\,{\left (a+a\,\sin \left (c+d\,x\right )\right )}^{3/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________